package com.huoyun.user.service;

import com.huoyun.base.bean.Page;
import com.huoyun.user.service.evt.GetComplaintsByUserIdEvt;
import com.huoyun.user.bean.Complaint;

public interface ComplaintService {
	public int insertComplaint(Complaint complaint);
	
	public int updateComplaint(Complaint complaint);
	
	public int deleteComplaint(long complaintId);
	
	public Complaint getComplaintById(long id);
	
	public Page getComplaintsByUserId(GetComplaintsByUserIdEvt evt);
}
